'use strict';
/**
 * create service
 * A service is infact just a classs file, we just put couple useful util in there.
 * and you do your things
 */
var util = require('util');
var path = require('path');
var ScriptBase = require('../../lib/script-base');
var nbPreference = require('../../lib/nb-preference');

/**
 * Constructor
 */
var Generator = module.exports = function()
{
    ScriptBase.apply(this , arguments);
};

util.inherits(Generator , ScriptBase);

/**
 * createing files
 */
Generator.prototype.createDispatcherFile = function()
{
    this.serviceName = this.classedName;
    this.appTemplate('service', path.join('scripts' , 'services' , this.name));
};
